////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011-2012 www.iflytek.com. All Rights Reserved.
//  This software for customer relationship management system, developed by Noo team.
//  Software code and design for the team, copy rights reserved.
////////////////////////////////////////////////////////////////////////////////

package com.iflytek.ci.main.domain;

import java.io.Serializable;

/**
 * <p>
 * System Configuration.
 * </p>
 * 
 * @author poplar.yfyang
 * @version 1.0 2012-11-17 10:02 PM
 * @since JDK 1.5
 */
public class SystemConfiguration implements Serializable {
	/** Serial version */
	private static final long serialVersionUID = -3388038599483365254L;
	/** pk */
	private int id;
	/** System's name */
	private String name;
	/** if true open ldap login */
	private boolean ldap;
	/** system's icon */
	private String icon;

	/**
	 * 获取id
	 * 
	 * @return id
	 */
	public int getId() {
		return id;
	}

	/**
	 * 设置id
	 * 
	 * @param id
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * system's name
	 * 
	 * @return system's name
	 */
	public String getName() {
		return name;
	}

	/**
	 * system's name
	 * 
	 * @param name
	 *            system's name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * if true open ldap login
	 * 
	 * @return if true open ldap login
	 */
	public boolean isLdap() {
		return ldap;
	}

	/**
	 * if true open ldap login
	 * 
	 * @param ldap
	 *            if true open ldap login
	 */
	public void setLdap(boolean ldap) {
		this.ldap = ldap;
	}

	/**
	 * system's icon
	 * 
	 * @return system's icon
	 */
	public String getIcon() {
		return icon;
	}

	/**
	 * system's icon
	 * 
	 * @param icon
	 *            system's icon
	 */
	public void setIcon(String icon) {
		this.icon = icon;
	}
}
